package com.second.statistics.service.impl;

import com.second.common.pojo.Order;
import com.second.statistics.dao.StatOrderDao;
import com.second.statistics.service.StatOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: second-education-parent
 * @description:
 * @author: 王子朋
 * @create: 2023-05-30 09:00
 **/
@Service
public class StatOrderServiceImpl implements StatOrderService{
    @Autowired
    private StatOrderDao statOrderDao;

    @Override
    public List<Order> queryAll() {
        List<Order> orders = statOrderDao.selectList(null);
        return orders;
    }
}
